package com.sh.rbac.domain.entity;

import com.sh.rbac.core.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统部门实体类
 *
 * @author lucky
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Dept extends BaseEntity  {

    private String parentId;
    private Long leaderId;
    private String name;
    private String phone;
    private String email;

    @Schema(description = "状态;0-正常,1-停用")
    private Integer status;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "备注")
    private String remark;

}